package com.sp.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author tong
 */
@Component
@ConfigurationProperties(prefix = "jwt")
@Data
public class JWTProperties {

    /**
     * 管理员生成jwt令牌相关配置
     */
    private String secretKey;

    private long timeout;

    private String tokenName;

}
